Write CRUDCache Repo
open class WriteCRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : WriteCRUDRepo<ObjectType, IdType, InputValueType> , CacheRepo
Content copied to clipboard
Constructors
Link copied to clipboard
fun <ObjectType, IdType, InputValueType> WriteCRUDCacheRepo( parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType)
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun create(values: List<InputValueType>): List<ObjectType>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<IdType, InputValueType>>): List<ObjectType>
Content copied to clipboard
open suspend override fun update(id: IdType, value: InputValueType): ObjectType?
Content copied to clipboard